﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;

using agvcontroller.Common;

namespace agvcontroller.Driver
{
    public delegate void deleOnReceive(object sender , object msg);
    public delegate void deleOnClose(object sender, object value);
    public delegate void deleOnOpen(object sender, object value);

    public interface IVehicleDriver 
    {
        event deleOnClose OnOpen;
        event deleOnOpen OnClose;
        event deleOnReceive OnReceive;

        //enumConnect Connect;

        enumVehicleDriver Driver
        {
            get;
            set;
        }

        int Open();

        int Close();
    }
}
